package com.simple.handler.demo003.entities;

public class GetewayEntity {
    /**
     * handlerId 唯一
     */
    private Integer handlerId;

    /**
     * 当前处理者名称
     */
    private String handlerName;

    /**
     * 当前处理者className
     */
    private String handlerClassName;

    /**
     * 上一个处理者 handlerId
     */
    private Integer prehandlerId;

    /**
     * 下一个处理者 handlerId
     */
    private Integer nexthandlerId;

    public GetewayEntity(Integer handlerId, String handlerName, String handlerClassName, Integer prehandlerId, Integer nexthandlerId) {
        this.handlerId = handlerId;
        this.handlerName = handlerName;
        this.handlerClassName = handlerClassName;
        this.prehandlerId = prehandlerId;
        this.nexthandlerId = nexthandlerId;
    }

    public Integer getHandlerId() {
        return handlerId;
    }

    public void setHandlerId(Integer handlerId) {
        this.handlerId = handlerId;
    }

    public String getHandlerName() {
        return handlerName;
    }

    public void setHandlerName(String handlerName) {
        this.handlerName = handlerName;
    }

    public String getHandlerClassName() {
        return handlerClassName;
    }

    public void setHandlerClassName(String handlerClassName) {
        this.handlerClassName = handlerClassName;
    }

    public Integer getPrehandlerId() {
        return prehandlerId;
    }

    public void setPrehandlerId(Integer prehandlerId) {
        this.prehandlerId = prehandlerId;
    }

    public Integer getNexthandlerId() {
        return nexthandlerId;
    }

    public void setNexthandlerId(Integer nexthandlerId) {
        this.nexthandlerId = nexthandlerId;
    }
}
